//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Soob_Kor_Pr2.h"
#include "Soob_Kor_Pr1.h"
#include "Kor_Pr.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "cxContainer"
#pragma link "cxControls"
#pragma link "cxEdit"
#pragma link "cxGraphics"
#pragma link "cxGroupBox"
#pragma link "cxLookAndFeelPainters"
#pragma link "cxLookAndFeels"
#pragma resource "*.dfm"
TfrSoob_Kor_Pr2 *frSoob_Kor_Pr2;
//---------------------------------------------------------------------------
__fastcall TfrSoob_Kor_Pr2::TfrSoob_Kor_Pr2(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TfrSoob_Kor_Pr2::FormShow(TObject *Sender)
{

edEnter->SetFocus();
}
//---------------------------------------------------------------------------
void __fastcall TfrSoob_Kor_Pr2::FormKeyPress(TObject *Sender, char &Key)
{
if (Key == 27){
frSoob_Kor_Pr2->Close();
}
}
//---------------------------------------------------------------------------
void __fastcall TfrSoob_Kor_Pr2::FormActivate(TObject *Sender)
{
frSoob_Kor_Pr1->Close();	
}
//---------------------------------------------------------------------------
void __fastcall TfrSoob_Kor_Pr2::edEnterKeyDown(TObject *Sender, WORD &Key,
      TShiftState Shift)
{
if (Key == VK_RETURN){
frKor_Pr->ShowModal();
frSoob_Kor_Pr2->Close();
}//enter
}
//---------------------------------------------------------------------------
